@import '../scss/reset';

html {
    font-size: 0.1333vw;
    body {
        width: 750rem;
        background-image: url(../image/bg.jpg);
        background-repeat: no-repeat;
        position: relative;
        background-size: cover;
        padding: 100rem 0;
        section {
            width: 590rem;
            height: 900rem;
            margin: 0 auto;
            padding: 100rem 25rem 0 ;
            border-radius: 10rem;
            font-weight: bold;
            box-shadow: 0 0 15rem 5rem rgb(97, 96, 96);
            background-color: rgba($color: white, $alpha: 0.5);
            .top {
                :first-child {
                    display: inline-block;
                    width: 264rem;
                    border-bottom: 2rem solid black;
                    text-align: center;
                    font-size: 26rem;
                    margin-bottom: 65rem;
                }
            }
            .middle {
                p {
                    text-indent: 52rem;
                    font-size: 26rem;
                    line-height: 42rem;
                    margin-bottom: 35rem;
                }
                .code {
                    margin-bottom: 30rem;
                    .img{
                        width: 265rem;
                        height: 265rem;
                        border: 2rem solid black;
                        margin: 0 auto;
                        img {
                            width: 261rem;
                            height: 261rem;
                        }
                    }
                    .btn {
                        text-align: center;
                        button {
                            display: inline-block;
                            width: 187rem;
                            height: 58rem;
                            border-radius: 29rem;
                            margin: 20rem 0;
                            box-shadow: 0 2rem 2rem 2rem;
                            a {
                                font-size: 22rem;
                                display: inline-block;
                                width: 187rem;
                                line-height: 58rem;
                                border-radius: 29rem;
                                color: #0075c1;
                            }
                            a:visited {
                                color: #0075c1;
                            }
                            a:active {
                                color: red;
                            }
                        }
                    }
                    .screenshot {
                        width: 100vw;
                        height: 100vh;
                        background-color: rgba($color: black, $alpha: 1);
                        position: fixed;
                        top: 0;
                        left: 0;
                        display: none;
                        img {
                            width: 100vw;
                            height: 100vh;
                            transition: all 1s linear 0s;
                        }
                    }
                    // 显示截图
                    .show_screenshot {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        img {
                            transform: scale(0.7);
                            transition: all 1s linear 0s;
                        }
                    }
                }
                .btns {
                    display: flex;
                    justify-content: space-around;
                    margin-bottom: 30rem;
                    button {
                        font-size: 22rem;
                        width: 150rem;
                        height: 46rem;
                        border-radius: 23rem;
                        box-shadow: 0rem 2rem 2rem 2rem;
                        color: #0075c1;
                    }
                }
            }
            .bottom {
                p {
                    font-size: 26rem;
                    text-indent: 52rem;
                    line-height: 42rem;
                    color: #434242;
                }
            }
        }
    }
}